﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PetaPoco;

namespace BrnMall.Manager.Domain.WeApp
{
    [TableName("weapp_StoreAppPaySetting")]
    public class StoreApplicationPaySetting
    {
        public int Id { get; set; }
        public int StoreAppId { get; set; }
        public string MchId { get; set; }
        public string MchKey { get; set; }
        public string CertPath { get; set; }
        /// <summary>
        /// 支付方式 0：微信，1;邮惠付（微街支付）
        /// </summary>
        public int PayType { get; set; }
        /// <summary>
        /// 邮惠付商户ID
        /// </summary>
        public string PsbcMchId { get; set; }
        /// <summary>
        /// 邮惠付商户秘钥
        /// </summary>
        public string PsbcMchKey { get; set; }
        public StoreApplicationPaySetting()
        {
            StoreAppId = 0;
            MchId = MchKey = CertPath = string.Empty;
            PayType = 0;
            PsbcMchId = PsbcMchKey = string.Empty;
        }
    }
}
